package kr.co.doriclassic.pro04_04;

import java.util.Scanner;

public class TempChange {
	public static void main(String[] args) {
		double dCen, dFah;
		Scanner sc = new Scanner(System.in);
		
		System.out.print("화씨 온도를 입력 : ");
		dFah = sc.nextDouble();
		
		dCen = 5.0/9.0*(dFah-32);
		
		System.out.println("화씨 "+dFah+"도를  섭씨온도로 변환하면 "+dCen+"도입니다.");
	
	}
}
